﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.Common;
using _1Dot9MasterTransactions;
using _1Dot9MasterDac;
using System.Collections;

namespace _1Dot9MasterBiz
{
    class GuestBookBiz : MasterBizBase
    {
        #region transaction sample
        //insert
        [Transaction(TransactionOption.Suppress)]
        public int SetGuestBookNew(Hashtable htParams)
        {
            using (GuestBookDac aDac = new GuestBookDac())
            {
                return aDac.GuestBookInsert(htParams);
            }
        }
        #endregion

        #region

        [Transaction(TransactionOption.Suppress)]
        public DataSet GetGuestBookList(Hashtable htParams)
        {
            using (GuestBookDac adminDac = new GuestBookDac())
            {
                return adminDac.GuestBookSelect(htParams);
            }
        }
        #endregion
    }
}
